import request from '@/utils/request'

// 用水效率管理信息-列表查询
const waterUseEfficiencyList = function (params = {}) {
  return request({
    url: '/zy-api/api/waterEff/getWaterEffciencyList',
    method: 'post',
    data: params
  })
}

// 用水效率管理信息-详情
const waterUseEfficiencyDetails = function (params = {}) {
  return request({
    url: '/zy-api/api/waterEff/getWaterEffciencyId',
    method: 'post',
    data: params
  })
}

// 用水效率管理信息-新增
const addWaterUseEfficiency = function (params = {}) {
  return request({
    url: '/zy-api/api/waterEff/addWaterEffciency',
    method: 'post',
    data: params
  })
}

// 用水效率管理信息-修改
const editWaterUseEfficiency = function (params = {}) {
  return request({
    url: '/zy-api/api/waterEff/updWaterEffciency',
    method: 'post',
    data: params
  })
}

// 用水效率管理信息-删除
const delWaterUseEfficiency = function (params = {}) {
  return request({
    url: '/zy-api/api/waterEff/delWaterEffciency',
    method: 'post',
    data: params
  })
}

// 用水效率过程线-查看
const processLine = function (params = {}) {
  return request({
    url: '/zy-api/api/waterEff/getWaterStatistics',
    method: 'post',
    data: params
  })
}

export {
  waterUseEfficiencyList,
  waterUseEfficiencyDetails,
  addWaterUseEfficiency,
  editWaterUseEfficiency,
  delWaterUseEfficiency,
  processLine
}